package com.dragon.modules.yuegou.query.points;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.points.DetailEntity;
import com.dragon.modules.yuegou.enums.points.DetailIncomeExpenses;
import com.dragon.modules.yuegou.enums.points.DetailSource;
import com.dragon.modules.yuegou.enums.points.DetailType;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
 * 积分获取明细 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2023-02-27 11:43:07
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class DetailQuery extends DetailEntity implements Query<DetailEntity> {

    /** 查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 商圈id查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** 会员id查询条件 */
	@JsonUnwrapped(prefix = "memberId")
	private Condition<String> memberIdCondition;

    /** [枚举]积分类型：0-导入-IMPORTS、1-上传小票-APPLY、2-签到-SIGN、3-积分商城-MALL、4-注册送积分-REGISTER、5-H5支付-H5、6-H5兑换停车券-H5EXCHANGE、7-后台编辑-EDIT、8-答题活动赠送-DACT、9-微信支付积分-WXPAY、10-支付宝支付积分-ALIPAY、11-抽奖消耗-EXTRACT、12-抽奖赠送-PRIZE、13-线上购物-ONLINESHOP查询条件 */
	@JsonUnwrapped(prefix = "type")
	private Condition<DetailType> typeCondition;

    /** [枚举]来源：1-微信-WEICHANT、2-APP-APP、3-取消订单-CANCEL、4-小程序-MINI、5-后台导入-CRM、6-支付宝-ALI、7-后台编辑-EDIT、8-注册送礼-GIFT查询条件 */
	@JsonUnwrapped(prefix = "source")
	private Condition<DetailSource> sourceCondition;

    /** [枚举]收支情况：1-收入-INCOME、2-支出-EXPENSES查询条件 */
	@JsonUnwrapped(prefix = "incomeExpenses")
	private Condition<DetailIncomeExpenses> incomeExpensesCondition;

    /** 金额查询条件 */
	@JsonUnwrapped(prefix = "money")
	private Condition<BigDecimal> moneyCondition;

    /** 积分查询条件 */
	@JsonUnwrapped(prefix = "points")
	private Condition<Integer> pointsCondition;

    /** 商户id查询条件 */
	@JsonUnwrapped(prefix = "merchantId")
	private Condition<String> merchantIdCondition;

    /** 停车券id查询条件 */
	@JsonUnwrapped(prefix = "couponId")
	private Condition<String> couponIdCondition;

    /** 积分详情备注查询条件 */
	@JsonUnwrapped(prefix = "remarks")
	private Condition<String> remarksCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

    /** 逻辑删除，1表示已删除,0表示未删除查询条件 */
	@JsonUnwrapped(prefix = "del")
	private Condition<Boolean> delCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "delBy")
	private Condition<String> delByCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "delTime")
	private Condition<LocalDateTime> delTimeCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public DetailQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public DetailQuery(DetailEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public DetailQuery(DetailQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if(other.memberIdCondition != null) {
			this.memberIdCondition = other.memberIdCondition.copy();
		}
		if(other.typeCondition != null) {
			this.typeCondition = other.typeCondition.copy();
		}
		if(other.sourceCondition != null) {
			this.sourceCondition = other.sourceCondition.copy();
		}
		if(other.incomeExpensesCondition != null) {
			this.incomeExpensesCondition = other.incomeExpensesCondition.copy();
		}
		if(other.moneyCondition != null) {
			this.moneyCondition = other.moneyCondition.copy();
		}
		if(other.pointsCondition != null) {
			this.pointsCondition = other.pointsCondition.copy();
		}
		if(other.merchantIdCondition != null) {
			this.merchantIdCondition = other.merchantIdCondition.copy();
		}
		if(other.couponIdCondition != null) {
			this.couponIdCondition = other.couponIdCondition.copy();
		}
		if(other.remarksCondition != null) {
			this.remarksCondition = other.remarksCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
		this.setOther(other);
	}

	private void setOther(DetailQuery other){
		if(other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
		if(other.delCondition != null) {
			this.delCondition = other.delCondition.copy();
		}
		if(other.delByCondition != null) {
			this.delByCondition = other.delByCondition.copy();
		}
		if(other.delTimeCondition != null) {
			this.delTimeCondition = other.delTimeCondition.copy();
		}
	}

	@Override
	public QueryWrapper<DetailEntity> toQueryWrapper() {
		QueryWrapper<DetailEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (memberIdCondition != null) {
			memberIdCondition.toWrapper(wrapper, COL_MEMBER_ID);
		}
		if (typeCondition != null) {
			typeCondition.toWrapper(wrapper, COL_TYPE);
		}
		if (sourceCondition != null) {
			sourceCondition.toWrapper(wrapper, COL_SOURCE);
		}
		if (incomeExpensesCondition != null) {
			incomeExpensesCondition.toWrapper(wrapper, COL_INCOME_EXPENSES);
		}
		if (moneyCondition != null) {
			moneyCondition.toWrapper(wrapper, COL_MONEY);
		}
		if (pointsCondition != null) {
			pointsCondition.toWrapper(wrapper, COL_POINTS);
		}
		if (merchantIdCondition != null) {
			merchantIdCondition.toWrapper(wrapper, COL_MERCHANT_ID);
		}
		if (couponIdCondition != null) {
			couponIdCondition.toWrapper(wrapper, COL_COUPON_ID);
		}
		if (remarksCondition != null) {
			remarksCondition.toWrapper(wrapper, COL_REMARKS);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		return getQueryWrapper(wrapper);
	}
	private QueryWrapper<DetailEntity> getQueryWrapper(QueryWrapper<DetailEntity> wrapper){
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		if (delCondition != null) {
			delCondition.toWrapper(wrapper, COL_DEL);
		}
		if (delByCondition != null) {
			delByCondition.toWrapper(wrapper, COL_DEL_BY);
		}
		if (delTimeCondition != null) {
			delTimeCondition.toWrapper(wrapper, COL_DEL_TIME);
		}
		return wrapper;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param idCondition 查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回商圈id查询条件
	 * 
	 * @return busdIdCondition 商圈id查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈id查询条件
	 * 
	 * @return busdIdCondition 商圈id查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈id查询条件
	 * 
	 * @param busdIdCondition 商圈id查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回会员id查询条件
	 * 
	 * @return memberIdCondition 会员id查询条件
	 */
	public Condition<String> memberId() {
		this.memberIdCondition = new Condition<>();
		return this.memberIdCondition;
	}
	
	/**
	 * 获取会员id查询条件
	 * 
	 * @return memberIdCondition 会员id查询条件
	 */
	public Condition<String> getMemberIdCondition() {
		return memberIdCondition;
	}

	/**
	 * 设置会员id查询条件
	 * 
	 * @param memberIdCondition 会员id查询条件
	 */
	public void setMemberIdCondition(Condition<String> memberIdCondition) {
		this.memberIdCondition = memberIdCondition;
	}

	/**
	 * 构造并返回[枚举]积分类型：0-导入-IMPORTS、1-上传小票-APPLY、2-签到-SIGN、3-积分商城-MALL、4-注册送积分-REGISTER、5-H5支付-H5、6-H5兑换停车券-H5EXCHANGE、7-后台编辑-EDIT、8-答题活动赠送-DACT、9-微信支付积分-WXPAY、10-支付宝支付积分-ALIPAY、11-抽奖消耗-EXTRACT、12-抽奖赠送-PRIZE、13-线上购物-ONLINESHOP查询条件
	 * 
	 * @return typeCondition [枚举]积分类型：0-导入-IMPORTS、1-上传小票-APPLY、2-签到-SIGN、3-积分商城-MALL、4-注册送积分-REGISTER、5-H5支付-H5、6-H5兑换停车券-H5EXCHANGE、7-后台编辑-EDIT、8-答题活动赠送-DACT、9-微信支付积分-WXPAY、10-支付宝支付积分-ALIPAY、11-抽奖消耗-EXTRACT、12-抽奖赠送-PRIZE、13-线上购物-ONLINESHOP查询条件
	 */
	public Condition<DetailType> type() {
		this.typeCondition = new Condition<>();
		return this.typeCondition;
	}
	
	/**
	 * 获取[枚举]积分类型：0-导入-IMPORTS、1-上传小票-APPLY、2-签到-SIGN、3-积分商城-MALL、4-注册送积分-REGISTER、5-H5支付-H5、6-H5兑换停车券-H5EXCHANGE、7-后台编辑-EDIT、8-答题活动赠送-DACT、9-微信支付积分-WXPAY、10-支付宝支付积分-ALIPAY、11-抽奖消耗-EXTRACT、12-抽奖赠送-PRIZE、13-线上购物-ONLINESHOP查询条件
	 * 
	 * @return typeCondition [枚举]积分类型：0-导入-IMPORTS、1-上传小票-APPLY、2-签到-SIGN、3-积分商城-MALL、4-注册送积分-REGISTER、5-H5支付-H5、6-H5兑换停车券-H5EXCHANGE、7-后台编辑-EDIT、8-答题活动赠送-DACT、9-微信支付积分-WXPAY、10-支付宝支付积分-ALIPAY、11-抽奖消耗-EXTRACT、12-抽奖赠送-PRIZE、13-线上购物-ONLINESHOP查询条件
	 */
	public Condition<DetailType> getTypeCondition() {
		return typeCondition;
	}

	/**
	 * 设置[枚举]积分类型：0-导入-IMPORTS、1-上传小票-APPLY、2-签到-SIGN、3-积分商城-MALL、4-注册送积分-REGISTER、5-H5支付-H5、6-H5兑换停车券-H5EXCHANGE、7-后台编辑-EDIT、8-答题活动赠送-DACT、9-微信支付积分-WXPAY、10-支付宝支付积分-ALIPAY、11-抽奖消耗-EXTRACT、12-抽奖赠送-PRIZE、13-线上购物-ONLINESHOP查询条件
	 * 
	 * @param typeCondition [枚举]积分类型：0-导入-IMPORTS、1-上传小票-APPLY、2-签到-SIGN、3-积分商城-MALL、4-注册送积分-REGISTER、5-H5支付-H5、6-H5兑换停车券-H5EXCHANGE、7-后台编辑-EDIT、8-答题活动赠送-DACT、9-微信支付积分-WXPAY、10-支付宝支付积分-ALIPAY、11-抽奖消耗-EXTRACT、12-抽奖赠送-PRIZE、13-线上购物-ONLINESHOP查询条件
	 */
	public void setTypeCondition(Condition<DetailType> typeCondition) {
		this.typeCondition = typeCondition;
	}

	/**
	 * 构造并返回[枚举]来源：1-微信-WEICHANT、2-APP-APP、3-取消订单-CANCEL、4-小程序-MINI、5-后台导入-CRM、6-支付宝-ALI、7-后台编辑-EDIT、8-注册送礼-GIFT查询条件
	 * 
	 * @return sourceCondition [枚举]来源：1-微信-WEICHANT、2-APP-APP、3-取消订单-CANCEL、4-小程序-MINI、5-后台导入-CRM、6-支付宝-ALI、7-后台编辑-EDIT、8-注册送礼-GIFT查询条件
	 */
	public Condition<DetailSource> source() {
		this.sourceCondition = new Condition<>();
		return this.sourceCondition;
	}
	
	/**
	 * 获取[枚举]来源：1-微信-WEICHANT、2-APP-APP、3-取消订单-CANCEL、4-小程序-MINI、5-后台导入-CRM、6-支付宝-ALI、7-后台编辑-EDIT、8-注册送礼-GIFT查询条件
	 * 
	 * @return sourceCondition [枚举]来源：1-微信-WEICHANT、2-APP-APP、3-取消订单-CANCEL、4-小程序-MINI、5-后台导入-CRM、6-支付宝-ALI、7-后台编辑-EDIT、8-注册送礼-GIFT查询条件
	 */
	public Condition<DetailSource> getSourceCondition() {
		return sourceCondition;
	}

	/**
	 * 设置[枚举]来源：1-微信-WEICHANT、2-APP-APP、3-取消订单-CANCEL、4-小程序-MINI、5-后台导入-CRM、6-支付宝-ALI、7-后台编辑-EDIT、8-注册送礼-GIFT查询条件
	 * 
	 * @param sourceCondition [枚举]来源：1-微信-WEICHANT、2-APP-APP、3-取消订单-CANCEL、4-小程序-MINI、5-后台导入-CRM、6-支付宝-ALI、7-后台编辑-EDIT、8-注册送礼-GIFT查询条件
	 */
	public void setSourceCondition(Condition<DetailSource> sourceCondition) {
		this.sourceCondition = sourceCondition;
	}

	/**
	 * 构造并返回[枚举]收支情况：1-收入-INCOME、2-支出-EXPENSES查询条件
	 * 
	 * @return incomeExpensesCondition [枚举]收支情况：1-收入-INCOME、2-支出-EXPENSES查询条件
	 */
	public Condition<DetailIncomeExpenses> incomeExpenses() {
		this.incomeExpensesCondition = new Condition<>();
		return this.incomeExpensesCondition;
	}
	
	/**
	 * 获取[枚举]收支情况：1-收入-INCOME、2-支出-EXPENSES查询条件
	 * 
	 * @return incomeExpensesCondition [枚举]收支情况：1-收入-INCOME、2-支出-EXPENSES查询条件
	 */
	public Condition<DetailIncomeExpenses> getIncomeExpensesCondition() {
		return incomeExpensesCondition;
	}

	/**
	 * 设置[枚举]收支情况：1-收入-INCOME、2-支出-EXPENSES查询条件
	 * 
	 * @param incomeExpensesCondition [枚举]收支情况：1-收入-INCOME、2-支出-EXPENSES查询条件
	 */
	public void setIncomeExpensesCondition(Condition<DetailIncomeExpenses> incomeExpensesCondition) {
		this.incomeExpensesCondition = incomeExpensesCondition;
	}

	/**
	 * 构造并返回金额查询条件
	 * 
	 * @return moneyCondition 金额查询条件
	 */
	public Condition<BigDecimal> money() {
		this.moneyCondition = new Condition<>();
		return this.moneyCondition;
	}
	
	/**
	 * 获取金额查询条件
	 * 
	 * @return moneyCondition 金额查询条件
	 */
	public Condition<BigDecimal> getMoneyCondition() {
		return moneyCondition;
	}

	/**
	 * 设置金额查询条件
	 * 
	 * @param moneyCondition 金额查询条件
	 */
	public void setMoneyCondition(Condition<BigDecimal> moneyCondition) {
		this.moneyCondition = moneyCondition;
	}

	/**
	 * 构造并返回积分查询条件
	 * 
	 * @return pointsCondition 积分查询条件
	 */
	public Condition<Integer> points() {
		this.pointsCondition = new Condition<>();
		return this.pointsCondition;
	}
	
	/**
	 * 获取积分查询条件
	 * 
	 * @return pointsCondition 积分查询条件
	 */
	public Condition<Integer> getPointsCondition() {
		return pointsCondition;
	}

	/**
	 * 设置积分查询条件
	 * 
	 * @param pointsCondition 积分查询条件
	 */
	public void setPointsCondition(Condition<Integer> pointsCondition) {
		this.pointsCondition = pointsCondition;
	}

	/**
	 * 构造并返回商户id查询条件
	 * 
	 * @return merchantIdCondition 商户id查询条件
	 */
	public Condition<String> merchantId() {
		this.merchantIdCondition = new Condition<>();
		return this.merchantIdCondition;
	}
	
	/**
	 * 获取商户id查询条件
	 * 
	 * @return merchantIdCondition 商户id查询条件
	 */
	public Condition<String> getMerchantIdCondition() {
		return merchantIdCondition;
	}

	/**
	 * 设置商户id查询条件
	 * 
	 * @param merchantIdCondition 商户id查询条件
	 */
	public void setMerchantIdCondition(Condition<String> merchantIdCondition) {
		this.merchantIdCondition = merchantIdCondition;
	}

	/**
	 * 构造并返回停车券id查询条件
	 * 
	 * @return couponIdCondition 停车券id查询条件
	 */
	public Condition<String> couponId() {
		this.couponIdCondition = new Condition<>();
		return this.couponIdCondition;
	}
	
	/**
	 * 获取停车券id查询条件
	 * 
	 * @return couponIdCondition 停车券id查询条件
	 */
	public Condition<String> getCouponIdCondition() {
		return couponIdCondition;
	}

	/**
	 * 设置停车券id查询条件
	 * 
	 * @param couponIdCondition 停车券id查询条件
	 */
	public void setCouponIdCondition(Condition<String> couponIdCondition) {
		this.couponIdCondition = couponIdCondition;
	}

	/**
	 * 构造并返回积分详情备注查询条件
	 * 
	 * @return remarksCondition 积分详情备注查询条件
	 */
	public Condition<String> remarks() {
		this.remarksCondition = new Condition<>();
		return this.remarksCondition;
	}
	
	/**
	 * 获取积分详情备注查询条件
	 * 
	 * @return remarksCondition 积分详情备注查询条件
	 */
	public Condition<String> getRemarksCondition() {
		return remarksCondition;
	}

	/**
	 * 设置积分详情备注查询条件
	 * 
	 * @param remarksCondition 积分详情备注查询条件
	 */
	public void setRemarksCondition(Condition<String> remarksCondition) {
		this.remarksCondition = remarksCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return createdTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return createdTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param createdTimeCondition 查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return createdByCondition 查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return createdByCondition 查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param createdByCondition 查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return modifiedTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return modifiedTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param modifiedTimeCondition 查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return modifiedByCondition 查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return modifiedByCondition 查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param modifiedByCondition 查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

	/**
	 * 构造并返回逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> del() {
		this.delCondition = new Condition<>();
		return this.delCondition;
	}
	
	/**
	 * 获取逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> getDelCondition() {
		return delCondition;
	}

	/**
	 * 设置逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @param delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public void setDelCondition(Condition<Boolean> delCondition) {
		this.delCondition = delCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return delByCondition 查询条件
	 */
	public Condition<String> delBy() {
		this.delByCondition = new Condition<>();
		return this.delByCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return delByCondition 查询条件
	 */
	public Condition<String> getDelByCondition() {
		return delByCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param delByCondition 查询条件
	 */
	public void setDelByCondition(Condition<String> delByCondition) {
		this.delByCondition = delByCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return delTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> delTime() {
		this.delTimeCondition = new Condition<>();
		return this.delTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return delTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getDelTimeCondition() {
		return delTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param delTimeCondition 查询条件
	 */
	public void setDelTimeCondition(Condition<LocalDateTime> delTimeCondition) {
		this.delTimeCondition = delTimeCondition;
	}

}
